<form name="form_admin" method="POST" action="<?php echo formEditAction()?>" onsubmit="return CheckForm(this);">
<input type="hidden" name="id" value="<?php echo $review['iId']?>" />

<table width="100%" cellpadding="0" cellspacing="0" id="tbledit">
	 <tr>
        <td><b><font color="Red"><?php echo getLang('Subject')?></font></b></td>
        <td>
            <input class="normal3" type="text" name="Subject" value="<?php echo $review["cName"] ?>" />
        </td>
    </tr>

    <tr>
        <td><b><?php echo getLang('Status')?></b></td>
        <td>
			<select name="Status" id="Status">
				<?php echo liststatus($review['iStatus'])?>
			</select>
	     </td>
    </tr>

   	<tr>
        <td><b><?php echo getLang('Email')?></b></td>
        <td>
            <input class="normal3" name="Email" value="<?php echo $review["cEmail"] ?>" />
        </td>
    </tr>
    
    <tr>
        <td><b><?php echo getLang('Full Name')?></b></td>
        <td>
            <input class="normal3" name="FullName" value="<?php echo $review["cFullName"] ?>" />
        </td>
    </tr>

    <tr>
	        <td valign="top" style="vertical-align:top"><b><?php echo getLang('Description')?></b></td>
	        <td><textarea style="height:150px; width:90%;" class="noeditor"
			name="Comment"><?php echo str_replace('<br>',"\r",$review["cComment"]) ?></textarea></td>
	</tr>
</table>
</form>
<script language="javascript" type="text/javascript">
function CheckForm(f)
{
	if(f.Subject.value=="")
	{
		alert("please enter Subject");
		return false;
	}
	if(f.Email.value=="")
	{
		alert("please enter Email");
		return false;
	}
}
</script>